package com.wgy.day10.面向对象;

public class PhoneObjectOne {
    public static void main(String[] args) {
        Phone iphone=new Phone();
        System.out.println(iphone.brand);
        System.out.println(iphone.color);
        System.out.println(iphone.price);
        iphone .call("乔布斯");
        iphone. sendMessage();
        System.out.println("===========");
        iphone.brand="苹果";
        iphone.color="土豪金";
        iphone.price=7999.0;
        System.out.println(iphone.brand);
        System.out.println(iphone.color);
        System.out.println(iphone.price);
        System.out.println("========");





    }
}
